<style tyle="text/css">
  .modal-lg {
    width: 60%;
  }

</style>
<div class="modal-header">
    <h4 class="modal-title">设置时间</h4>
</div>
<div class="modal-body">

  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-lg-3 col-lg-offset-2">
        <div class="input-group">
            <div class="pull-left input-group">
              <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.label" is-open="date.opened"
                readonly close-text="关闭" current-text="今天" clear-text="清除" ng-required="true"/>
              <span class="input-group-btn">
                <button type="button" class="btn btn-default" ng-click="dateOpen($event, date)">
                  <i class="glyphicon glyphicon-calendar"></i>
                </button>
              </span>
            </div>
          </div>
      </div>
			<div class="col-lg-3">
        <div class="input-group">
          <div class="pull-left input-group">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.label" is-open="date1.opened"
             readonly close-text="关闭" current-text="今天" clear-text="清除" ng-required="true"/>
            <span class="input-group-btn">
              <button type="button" class="btn btn-default" ng-click="dateOpen($event, date1)">
                <i class="glyphicon glyphicon-calendar"></i>
              </button>
            </span>
          </div>
        </div>
      </div>
      <div class="col-lg-3">
        <button class="btn btn-success" type="button" ng-click="add(date.label,date1.label)">添加时间段</button>
      </div>

      <div class="col-lg-6 col-lg-offset-2" style="margin-top: 20px">
        <input type="text" class="form-control" placeholder="补充说明" ng-model="tip" />
      </div>
      <div class="col-lg-3" style="margin-top: 20px">
        <button class="btn btn-success" type="button" ng-click="addtip(tip)">添加提示语</button>
      </div>

      <div class="col-lg-12" style="margin-top: 10px">
        <div style="padding-right: 5px; padding-bottom: 5px; float: left;"  ng-repeat="info in sel_time">
          <button class="btn btn-sm btn-info">{{info}}
            <i class="glyphicon glyphicon-remove" ng-click="remove($index)"></i>
          </button>
        </div>
      </div>

		</div>
  </div>


</div>
<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
    <button class="btn btn-danger" type="button" ng-click="back()">返回</button>
</div>
